Staatic\WordPress\Publication\PublicationRepository S

Total Complexity 39
Dependencies 12
Dependents 20
Total lines 266
Lines of code 157
Logical lines of code 65
Comment lines 47
Methods 16
Properties 5

Methods 16

Method Rating Maintainability Complexity Lines of code
buildQuery()
A
56 11 13
rowToPublication()
S
60 4 12
rowsToPublication()
S
52 3 26
findWhereMatching()
S
66 4 7
getPublicationValues()
S
57 2 16
find()
S
58 2 15
delete()
S
62 2 12
getPublicationsPerStatus()
S
62 2 11
findAll()
S
73 2 4
__construct()
S
66 1 8
nextId()
S
80 1 3
add()
S
70 1 6
update()
S
67 1 8
shouldDeleteBuildWithPublication()
S
67 1 8
transformSelectToCount()
S
78 1 3
countWhereMatching()
S
72 1 5